package Operation2;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

import static java.util.stream.Collectors.toList;

public class Data2 {
    public static void main(String[] args) {
        List<Data1> menu = Arrays.asList(
                new Data1("重生之在丧尸一天前",94),
                new Data1("屌丝逆袭之路",84),
                new Data1("5块钱如何花三天",119),
                new Data1("富婆通讯录",999),
                new Data1("一个小黑子怎么成为爱坤",79),
                new Data1("第九人格",59),
                new Data1("十宗罪",49));

                List<String> jj = menu.stream()
                        .filter(d->d.cc()>100)
                        .map(d->d.aa())
                        .collect(toList());

        for (String name:jj
             ) {
            System.out.println(name);
        }

    }
}
